package com.netcracker.training.automonic.parser;

import java.util.List;
import java.util.Map;

import com.netcracker.training.automonic.dao.entities.Object;
import com.netcracker.training.automonic.dao.entities.Site;
import com.netcracker.training.automonic.dao.entities.Statistics;

public interface IParser {
	/**
	 * Initialize resources,needs to be called first
	 */
	void init();
	/**
	 * Parse data(unchanged data),needs to be called before
	 * {@link #parseStatistics}
	 * 
	 */
	void parseObjects();

	/**
	 * Parse statistics(changed data),needs to be called after
	 * {@link #parseObjects}
	 * 
	 */
	void parseStatistics();

	/**
	 * 
	 * 
	 * @return List of parsed objects
	 */
	List getParsedObjects();

	/**
	 * 
	 * @return List of parsed statistics
	 */
	List getParsedStatistics();


}
